#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <login_dialog.h>
#include <register_dialog.h>
#include <regsuccess_dialog.h>
#include <resetpass_dialog.h>
#include <chat_dialog.h>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

public slots:
    void SlotSwitchReg();
    void SlotSwitchLogin();
    void SlotSwitchRegSuccess();
    void SlotSwitchResetPass();
private:
    Ui::MainWindow *ui;
    Login_Dialog *login_dialog;
    Register_Dialog *register_dialog;
    RegSuccess_Dialog *regsuccess_dialog;
    ResetPass_Dialog *resetpass_dialog;
    Chat_Dialog *chat_dialog;
};
#endif // MAINWINDOW_H
